package com.explment.lens.controller.role;

import com.explment.lens.entity.SysRoleLimitEntity;
import com.explment.lens.service.SysRoleLimitService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import com.explment.lens.utils.result.ResultData;
/**
 * 角色权限限制 controller
 */
@RestController
@RequestMapping("/sysRoleLimitEntity")
public class SysRoleLimitController {
    @Autowired
    private SysRoleLimitService sysRoleLimitEntityService;

    @GetMapping("/{id}")
    public ResultData getById(@PathVariable String id) {
        return ResultData.success(sysRoleLimitEntityService.getById(id));
    }
}